package cn.xzc.job.throwable;

/**
 * job要抛出的异常
 *
 * @author xzc
 * 当前时间 2024-02-12 21:30:00
 */
@SuppressWarnings("serial")
public class SchedulingException extends NestedRuntimeException {

    /**
     * Constructor for SchedulingException.
     *
     * @param msg the detail message
     */
    public SchedulingException(String msg) {
        super(msg);
    }

    /**
     * Constructor for SchedulingException.
     *
     * @param msg   the detail message
     * @param cause the root cause (usually from using a underlying
     *              scheduling API such as Quartz)
     */
    public SchedulingException(String msg, Throwable cause) {
        super(msg, cause);
    }

}